projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf7fb0
)
spl: fit: Enable GZIP compression also for no kernel partitions
author
Michal Simek
<
[email protected]
>
Tue, 24 Jul 2018 13:05:00 +0000
(15:05 +0200)
committer
Michal Simek
<
[email protected]
>
Wed, 26 Sep 2018 08:15:00 +0000
(10:15 +0200)
There is no reason to limit gzip usage only for OS_BOOT and kernel image
type.
Signed-off-by: Michal Simek <
[email protected]
>
Tested-by: York Sun <
[email protected]
>
common/spl/spl_fit.c
patch
|
blob
|
history
diff --git
a/common/spl/spl_fit.c
b/common/spl/spl_fit.c
index 9eabb1c1058b3df670bfaf9925b14e15a19623c3..dbf5ac33a845ae64f9cc6edc24b42eaaa5c73062 100644
(file)
--- a/
common/spl/spl_fit.c
+++ b/
common/spl/spl_fit.c
@@
-257,10
+257,7
@@
static int spl_load_fit_image(struct spl_load_info *info, ulong sector,
board_fit_image_post_process(&src, &length);
#endif
- if (IS_ENABLED(CONFIG_SPL_OS_BOOT) &&
- IS_ENABLED(CONFIG_SPL_GZIP) &&
- image_comp == IH_COMP_GZIP &&
- type == IH_TYPE_KERNEL) {
+ if (IS_ENABLED(CONFIG_SPL_GZIP) && image_comp == IH_COMP_GZIP) {
size = length;
if (gunzip((void *)load_addr, CONFIG_SYS_BOOTM_LEN,
src, &size)) {